<template>
    <div class="calendar">
        <h4 class="title1">您好，来看看新一天的排班工作吧！</h4>
        <div class="calendar-div">
            <el-calendar v-model="value"></el-calendar>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            value: new Date(),

        }
    }
}
</script>

<style lang="less" scoped>
.calendar {
    width: 488px;
    height: 525px;
    box-shadow: 0px 3px 6px 0px #E1E1E1;
    background: url('../../assets/images/paibanbj.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;

    .title1 {
        width: 256px;
        height: 22px;
        font-size: 16px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #628196;
        line-height: 22px;
        margin: 0 auto;
        margin-top: 33px;
    }

    .calendar-div {
        position: absolute;
        bottom: 0px;
        width: 100%;
        height: 400px;

    }
}
</style>
<!-- 修改日历高度 -->
<style>
.el-calendar-table .el-calendar-day {
    height: 45px;
}
</style>